doctype html
html
  head
    title
    link(rel='stylesheet', href='/stylesheets/showDrawlots.css')
  body(style='background-image: url(/images/draw/'+itemImg+')')
    block content

      div(onclick="onClickDraw()").btn_re.transparent
        - var reBtn ="http://7xogoq.com1.z0.glb.clouddn.com/itbserver/api/img/draw/";
        - if(type == 1 || type == "1") reBtn += "re_aq.png";
        - else if(type == 2 || type == "2") reBtn += "re_cy.png";
        - else if(type == 3 || type == "3") reBtn += "re_jk.png";
        - else if(type == 4 || type == "4") reBtn += "re_sy.png";
        - else reBtn += "re_aq.png";
        img(src=reBtn id="img_re").img_re.breath

      div(onclick="onClickAbout()" id="aboutDiv").btn_about
        img(src="http://7xogoq.com1.z0.glb.clouddn.com/itbserver/api/img/draw/btn_about.png" id="img_about").img_re.breath

      //script(src='/javascripts/jquery-1.11.0.min.js')
      //script(src='/javascripts/jweixin-1.0.0.js')
      script(src='http://7xogoq.com1.z0.glb.clouddn.com/itbserver/api/js/jquery-1.11.0.min.js')
      script(src='http://7xogoq.com1.z0.glb.clouddn.com/itbserver/api/js/jweixin-1.0.0.js')
      script(type='text/javascript').
        var gAPIHOST = !{gInfo}.api_host;
        var Wechat = !{wechat};
        var gURL = Wechat.url;
        wx.config({
          debug: false,
          appId: Wechat.appId,
          timestamp: Wechat.timestamp,
          nonceStr: Wechat.nonceStr,
          signature: Wechat.signature,
          jsApiList: [
            'checkJsApi',
            'onMenuShareTimeline',
            'onMenuShareAppMessage'
          ]
        });
      script(src='/javascripts/showDrawlots.js')